Spread Windows Forms 9.0 Product Documentation
Insert Method (CollectionBase<T>)


The zero-based index where the specified object should be inserted.
The T to insert.
Inserts the specified T into the collection at the specified index.
Syntax
'Declaration
 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal value As T _
) 
'Usage
 
Dim instance As CollectionBase(Of T)
Dim index As Integer
Dim value As T
 
instance.Insert(index, value)
public void Insert( 
   int index,
   T value
)

Parameters

index
The zero-based index where the specified object should be inserted.
value
The T to insert.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

CollectionBase<T> Class
CollectionBase<T> Members

 

 


Copyright © GrapeCity, inc. All rights reserved.